/**
 * Copyright (c) 2006, PORTALIER Julien
 * 
 * Licensed under The LGPL License
 * Redistributions of files must retain the above copyright notice.
 * 
 * Builder is inspired by Dombuilder, Copyright (c) 2006 Dan Webb
 * 
 * @package    FeatherCMS
 * @subpackage Javascript
 * @copyright  Copyright (c) 2006, Julien PORTALIER
 * @link       http://portalier.com/feather
 * @license    http://www.opensource.org/licenses/lgpl-license.php The LGPL License
 */

var $_break = {'break': 'break'};
function $break()
{
	throw $_break;
}

Array.prototype.each = function(fn, bind)
{
	try {
		this.forEach(fn, bind);
	}
	catch(e)
	{
		if (e != $_break)
			throw e;
	}
}
Array.each = Array.prototype.each;